package protocols

import "gogogo-server/gameserver/model"

type Message struct {
	Event string
	Data  []byte
}

type JoinRoomRequest struct {
	ID int
}

type JoinRoomResponse struct {
	ID   int
	Name string
}

type CreateRoomResponse struct {
	ID int
}

type CreateRoomRequest struct {
}

type LoginRequest struct {
	Name string
}

type LoginResponse struct {
	Name   string
	Player model.Player
}
